package com.market.goods.dao.po;

import lombok.ToString;

import java.io.Serializable;
import javax.persistence.*;

@ToString
@Table(name = "category_brand")
public class CategoryBrandPO implements Serializable {
    /**
     * ����id
     */
    private Integer id;

    @Column(name = "brand_id")
    private String brandId;

    @Column(name = "brand_name")
    private String brandName;

    @Column(name = "category_id")
    private String categoryId;

    @Column(name = "category_name")
    private String categoryName;

    /**
     * Ʒ��ĳһ���ͺ�(��С��10�ֻ�)id
     */
    @Column(name = "goods_type_id")
    private String goodsTypeId;

    /**
     * Ʒ��ĳһ���ͺ�(��С��10�ֻ�)����
     */
    @Column(name = "goods_type_name")
    private String goodsTypeName;

    /**
     * ��Ʒ�ͺ��ϼ�����id
     */
    @Column(name = "superior_type_id")
    private String superiorTypeId;

    /**
     * �����ȶ�
     */
    @Column(name = "search_heat")
    private Integer searchHeat;

    private static final long serialVersionUID = 1L;

    /**
     * ��ȡ����id
     *
     * @return id - ����id
     */
    public Integer getId() {
        return id;
    }

    /**
     * ��������id
     *
     * @param id ����id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * @return brand_id
     */
    public String getBrandId() {
        return brandId;
    }

    /**
     * @param brandId
     */
    public void setBrandId(String brandId) {
        this.brandId = brandId == null ? null : brandId.trim();
    }

    /**
     * @return brand_name
     */
    public String getBrandName() {
        return brandName;
    }

    /**
     * @param brandName
     */
    public void setBrandName(String brandName) {
        this.brandName = brandName == null ? null : brandName.trim();
    }

    /**
     * @return category_id
     */
    public String getCategoryId() {
        return categoryId;
    }

    /**
     * @param categoryId
     */
    public void setCategoryId(String categoryId) {
        this.categoryId = categoryId == null ? null : categoryId.trim();
    }

    /**
     * @return category_name
     */
    public String getCategoryName() {
        return categoryName;
    }

    /**
     * @param categoryName
     */
    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName == null ? null : categoryName.trim();
    }

    /**
     * ��ȡƷ��ĳһ���ͺ�(��С��10�ֻ�)id
     *
     * @return goods_type_id - Ʒ��ĳһ���ͺ�(��С��10�ֻ�)id
     */
    public String getGoodsTypeId() {
        return goodsTypeId;
    }

    /**
     * ����Ʒ��ĳһ���ͺ�(��С��10�ֻ�)id
     *
     * @param goodsTypeId Ʒ��ĳһ���ͺ�(��С��10�ֻ�)id
     */
    public void setGoodsTypeId(String goodsTypeId) {
        this.goodsTypeId = goodsTypeId == null ? null : goodsTypeId.trim();
    }

    /**
     * ��ȡƷ��ĳһ���ͺ�(��С��10�ֻ�)����
     *
     * @return goods_type_name - Ʒ��ĳһ���ͺ�(��С��10�ֻ�)����
     */
    public String getGoodsTypeName() {
        return goodsTypeName;
    }

    /**
     * ����Ʒ��ĳһ���ͺ�(��С��10�ֻ�)����
     *
     * @param goodsTypeName Ʒ��ĳһ���ͺ�(��С��10�ֻ�)����
     */
    public void setGoodsTypeName(String goodsTypeName) {
        this.goodsTypeName = goodsTypeName == null ? null : goodsTypeName.trim();
    }

    /**
     * ��ȡ��Ʒ�ͺ��ϼ�����id
     *
     * @return superior_type_id - ��Ʒ�ͺ��ϼ�����id
     */
    public String getSuperiorTypeId() {
        return superiorTypeId;
    }

    /**
     * ������Ʒ�ͺ��ϼ�����id
     *
     * @param superiorTypeId ��Ʒ�ͺ��ϼ�����id
     */
    public void setSuperiorTypeId(String superiorTypeId) {
        this.superiorTypeId = superiorTypeId == null ? null : superiorTypeId.trim();
    }

    /**
     * ��ȡ�����ȶ�
     *
     * @return search_heat - �����ȶ�
     */
    public Integer getSearchHeat() {
        return searchHeat;
    }

    /**
     * ���������ȶ�
     *
     * @param searchHeat �����ȶ�
     */
    public void setSearchHeat(Integer searchHeat) {
        this.searchHeat = searchHeat;
    }
}